import 'package:fish_redux/fish_redux.dart';

enum BottomNavbarAction {
  onActive,
  active,
}

class BottomNavbarActionCreator {
  static Action onActive(int activeIndex) {
    return Action(BottomNavbarAction.onActive, payload: activeIndex);
  }

  static Action active(int activeIndex) {
    return Action(BottomNavbarAction.active, payload: activeIndex);
  }
}
